Skip to content

Revert "chore(web): update storybooks dependencies (#139)" - #144

Closed
wilfredmulenga wants to merge 1 commit into
mainfrom
revert/storybook-dependencies-pr-139
Closed

Revert "chore(web): update storybooks dependencies (#139)"#144
wilfredmulenga wants to merge 1 commit into
mainfrom
revert/storybook-dependencies-pr-139

Conversation

@wilfredmulenga

Copy link
Copy Markdown
Contributor

Summary

Reverts #139 which introduced a runtime crash on the editor page.

The PR changed moduleResolution from "Node" to "bundler" in tsconfig.json and added paths entries pointing quickjs-emscripten-sync, react-align, cesium-dnd, and cesium-mvt-imagery-provider to their .d.ts declaration files. The vite-tsconfig-paths plugin forwards these paths to Vite's module resolver, causing Vite to serve .d.ts type declaration files as runtime JavaScript modules — resulting in a SyntaxError crash on page load.

Test plan

  • Verify the editor page loads without SyntaxError: does not provide an export named 'Arena'
  • Verify the editor page loads without SyntaxError: does not provide an export named 'GridArea'
  • Confirm CI type check passes

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant